package com.yami.shop.bean.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 支付原子
 *
 * @author zhangchaoqun
 * @date 2021-10-21
 */
@Data
@TableName("tz_transfer_token_record")
public class TransferTokenRecord implements Serializable {
    private static final long serialVersionUID = 1L;
    private String  id;
    private String appId;
    private Long batchId;
    private Integer status;//0成功，1失败
    private String denomeId;
    private String userId;
    private String tokenId;
    private Integer type;//0转入二级，1转出二级
    private Integer times;
    private Date createTime;
    private Date updateTime;

    @Schema(description = "关联商品名称")
    @TableField(exist = false)
    private String prodName;

    @Schema(description = "关联铸币类别名称")
    @TableField(exist = false)
    private String denomName;

    @Schema(description = "币持有者用户id")
    @TableField(exist = false)
    private String holdUserId;

    @Schema(description = "币持有者用户名")
    @TableField(exist = false)
    private String nickName;
}
